package cn.smxy.vo;

import cn.smxy.pojo.Campus;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class CampusVo extends Campus {
    private String collegeName;

    public CampusVo(Campus campus) {
        super(campus.getCampusId(),campus.getCollegeId(),campus.getStudentNumber()
        ,campus.getRealName(),campus.getUserId(),campus.getCreateTime());
    }
}
